#include<iostream>
using namespace std;
int main()
{
	int y, m, d;
	cin >> y >> m >> d;
	cout << "Hello!" << " " << m << " " << d << " " << y;
	return 0;
}